class CreateUsuariosPermissaos < ActiveRecord::Migration
  def change
    create_table :usuarios_permissaos do |t|
      t.references :paciente,  :null => false
      t.references :medico,    :null => false
      t.boolean    :notificar, :default => true
      t.timestamps
    end
  end
end
